FROM osrf/ros:noetic-desktop-full   
ADD sources.list /etc/apt/ 
ADD ros.sh /
# nvidia-container-runtime
ENV NVIDIA_VISIBLE_DEVICES \
${NVIDIA_VISIBLE_DEVICES:-all}
 
ENV NVIDIA_DRIVER_CAPABILITIES \
${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}graphics
 
 
RUN apt-get update && \
apt-get install -y \
build-essential \
libgl1-mesa-dev \
libglew-dev \
libsdl2-dev \
libsdl2-image-dev \
libglm-dev \
libfreetype6-dev \
libglfw3-dev \
libglfw3 \
libglu1-mesa-dev \
freeglut3-dev \
vim \
libpcl-dev \
libcanberra-gtk-module \
net-tools \
iputils-ping
#xrdp
 
RUN echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc && \
echo "QT_X11_NO_MITSHM=1" >> ./etc/environment
